import request from '@/utils/request'

// 查询
export function listPregnancy(query) {
  return request({
    url: '/gene/drug/pregnancy/listPregnancy', method: 'get', params: query
  })
}

export function listDrugKnowledgePregnancy(query) {
  return request({
    url: '/gene/drug/pregnancy/listDrugKnowledgePregnancy', method: 'get', params: query
  })
}

// 修改
export function updateDrugPregnancy(data) {
  return request({
    url: '/gene/drug/pregnancy/update', method: 'post', data: data
  })
}

// 添加
export function addDrugPregnancy(data) {
  return request({
    url: '/gene/drug/pregnancy/add', method: 'post', data: data
  })
}
